package org.csmzxy.class2333;
//输出一个99乘法表
import java.util.Scanner;
public class Test2 {
    public static void getbiao(int a){
        for (int i=1;i<=a;i++){
            for (int j=1;j<=i;j++){
                System.out.print(j+"*"+i+'='+i*j+'\t');
                //System.out.printf("%d*%d=%d",j,i,i*j);
            }
            System.out.println();
        }
    }
    public static void main(String[] agrs){
        Scanner scanner=new Scanner(System.in);
        int a=scanner.nextInt();
        getbiao(a);
    }
}
